home *** CD-ROM | disk | FTP | other *** search
/ Acorn RISC PD-CD 1 / Acorn RISC PD-CD 1.iso / languages / c / gnu / faqs < prev    next >
Encoding:
Text File  |  1993-04-27  |  2.1 KB  |  62 lines

  1. known problems and FAQs:
  2. -----------------------
  3.  
  4.  
  5. - GCC produces very inefficient code: use -O or -O2 option (optimize)
  6.  
  7.  
  8. - template.h: replace 'template' in typedef struct ... template through e.g. 'template_t';
  9.   don't forget to change it all over the file
  10.  
  11.  
  12. - you get an extensive list of undefined external(s) with C++? Use '-+' option with mulink.
  13.  
  14.  
  15. - you still get an extensive list of undefined external(s)? Are you sure you are linking
  16.   your obj with the MUPROS version of all other objs? Remember that mulink does link objects
  17.   it finds in the files you mention. If there are no valid objects in a file mulink sometimes
  18.   does not complain.
  19.  
  20.  
  21. - you get the message 'undefined external(s): __divsi3, __udivsi3, __modsi3, __umodsi3'? You
  22.   are using stubs without the GNU C/C++ extension. Look for the file o.div-fast in the risclib
  23.   directory and append it to stubsmu.
  24.  
  25.  
  26. - your application does not startup at all? You have probably converted your AOF stubs to
  27.   MUPROS stubs (aofconvert) without applying option -O. If you do so, MULINK will not link
  28.   some unreferenced areas (e.g. RTSK). But those areas are absolutely necessary.
  29.  
  30.  
  31. - any messages as '...!scrap.scrapdir.x0287400s: 76: error: bla bla bla'? Some incompatibility
  32.   between compiler and assembler occured. Contact me (see below).
  33.  
  34.  
  35. - the same but in floating point context: remember that floating point arithmetic is not
  36.   supported at the moment. Contact me to get the latest version (or check your other software
  37.   sources).
  38.  
  39.  
  40. - just don't read the linker message 'undefined external(s): __root_stack_size, __RelocCode'.
  41.   These symbols are weak external bindings in stubs. As MUPROS does not support weak bindings
  42.   the linker will show the warning though the application will work correctly.
  43.  
  44.  
  45. - do skip the message 'double defined public variable(s): C$$Code' too.
  46.  
  47.  
  48. - your desktop application does not startup: link stubsmu before oslib_mu
  49.  
  50.  
  51. - GCC terminates fast but does not do anything obviously: increase your memory allocation
  52.   either for 'next' or for the task gcc is started by
  53.  
  54.  
  55.  
  56. Thomas Aeby
  57. Graeffet 406
  58. 1735 Giffers
  59. Switzerland
  60. Tel. 037/38 16 00
  61. EMail: aeby@uropax.contrib.de
  62.